Method and system for inversion of detail-in-context presentations with folding

ABSTRACT

A method is for inverting a distorted surface presentation into an undistorted surface presentation in a detail-in-context presentation system including the steps of: selecting an input point on the undistorted surface; calculating a vector from the input point to a reference viewpoint; locating a starting point lying above the distorted surface and on the vector; locating a first bracketing point for a first intersection point of the vector and the distorted surface lying above the distorted surface and on the vector; locating a second bracketing point for the first intersection point lying below the distorted surface, and below the first intersection point, but above any subsequent intersection points of the vector and the distorted surface; locating a midpoint between the first and second bracketing points; and, determining if the midpoint is an acceptable approximation for the first intersection point thus being an inversion point corresponding to the input point.

[0001] This application claims priority from Canadian Patent Application No. 2,386,702 filed May 17, 2002, and incorporated herein by reference.

[0002] The invention relates to the field of computer graphics processing, and more specifically to the inversion of distortions, including folds, in detail-in-context presentations in detail-in-context presentation systems.

BACKGROUND OF THE INVENTION

[0003] Display screen are the primary visual display interface to a computer. One problem with these visual display screens is that they are limited in size, thus presenting a challenge to user interface design, particularly when larger amounts of information is to be displayed. This problem is normally referred to as the “screen real estate problem”.

[0004] Well-known solutions to this problem include panning, zooming, scrolling or combinations thereof. While these solutions are suitable for a large number of visual display applications, these solutions become less effective where the visual information is spatially related, such as maps, newspapers and such like. In this type of information display, panning, zooming and/or scrolling is not as effective as much of the context of the panned, zoomed or scrolled display is hidden.

[0005] A recent solution to this problem is the application of “detail-in-context” presentation techniques. Detail-in-context is the magnification of a particular region of interest (the “focal region”) in a data presentation while preserving visibility of the surrounding information. This technique has applicability to the display of large surface area media, such as maps, on limited size computer screens including personal digital assistance (PDA's) and cell phones.

[0006] In the detail-in-context discourse, differentiation is often made between the terms “representation” and “presentation”. A representation is a formal system, or mapping, for specifying raw information or data that is stored in a computer or data processing system. For example, a digital map of a city is a representation of raw data including street names and the relative geographic location of streets and utilities. Such a representation may be displayed visually on a computer screen or printed on paper. On the other hand, a presentation is a spatial organization of a given representation that is appropriate for the task at hand. Thus, a presentation of a representation organizes such things as the point of view and the relative emphasis of different parts or regions of the representation. For example, a digital map of a city may be presented with a region magnified to reveal street names.

[0007] In general, a detail-in-context presentation may be considered as a distorted view (or distortion) of a portion of the original representation where the distortion is the result of the application of a “lens” like distortion function to the original representation. A detailed review of various detail-in-context presentation techniques such as Elastic Presensation Space (“EPS”) may be found in a publication by Marianne S. T. Carpendale, entitled “A Framework for Elastic Presentation Space” (Carpendale, Marianne S. T., A Framework for Elastic Presentation Space (Burnaby, British Columbia: Simon Fraser University, 1999)), and incorporated herein by reference.

[0008] Development of increasingly powerful computing devices has lead to new possibilities for applications of detail-in-context viewing.

[0009] One shortcoming of the prior art detail-in-context presentation methods is their inability to effectively invert distortions in a detail-in-context presentation back to an original or undistorted presentation of the representation. The ability to perform such an inversion or inverse mapping would be of great value in extending the capabilities of detail-in-context presentations to applications such as image editing. For example, the editing of a focal region in a representation may be facilitated more easily in a distorted presentation rather than in an undistorted presentation.

[0010] The ability to perform an inverse mapping is also necessary for applications involving the subsequent distortion of a previously distorted presentation. In other words, inversion would allow a presentation system user to accurately position or reposition one or more distortion producing “lenses” within a given presentation that has already been distorted. Hence, the distorted presentation ultimately viewed by the user may be the end result of a series of distortion steps wherein the individual distortion steps are not known or are difficult to invert. In fact, the need for inversion arises whenever it is necessary to position a lens based on observed coordinates in the distorted presentation. This is so because the lens may be directly generated only from coordinate information in the undistorted presentation. As such, an inversion is necessary to produce the source coordinates for generating the lens.

[0011] Moreover, inversion provides a means to calculate real distances in an undistorted presentation based on locations within one or more lenses in a corresponding distorted presentation. For example, if a user wants to know the distance in the undistorted presentation between the focal points of two separate lenses in a corresponding distorted presentation of a map, such as the distance between a current location and a destination location, this distance can be computed via inversions of the focal points of these lenses.

[0012] Several systems are known which provide techniques for converting distorted or warped three-dimensional (3D) images into corrected, undistorted, or dewarped two-dimensional (2D) images. In U.S. Pat. No. 6,005,611, to Gullichsen, et al., a system is disclosed wherein a distorted image captured by a wide-angle or fisheye lens is corrected through the use of a specially generated polynomial transform function that maps points from the distorted image into rectangular points. A more complex transform function is described in U.S. Pat. No. 5,185,667, to Zimmerman. In U.S. Pat. No. 5,329,310, to Liljegern, et al., a similar objective is achieved in the context of motion picture images through the use of multiple lens (i.e. camera and projector) transfer functions. The result being the ability to project an image, taken from a particular point of view, onto a screen, especially a curved wide angle screen, from a different point of view, to be viewed from the original point of view, without distortion. In U.S. Pat. No. 5,175,808, to Sayre, a method and apparatus for non-affine image warping is disclosed that uses displacement tables to represent the movement of each pixel from an original location in a source image to a new location in a warped destination image. Through these displacement tables and a resampling method, the need for inversion of the underlying transform equation that specify the distortion or warp is eliminated. Finally, in U.S. Pat. No. 4,985,849, to Hideaki, look-up tables are used in combination with the forward evaluation of the transform equation in order to avoid the step of transform equation inversion. However, none of these systems disclose a method and system for inverting distortions in a manner that is optimized for detail-in-context presentations.

[0013] In U.S. patent application Ser. No. 09/932,088, assigned to the applicant of the present invention, a method and system for inverting distortions for detail-in-context presentations is disclosed. However, the method disclosed does not adequately invert distortions That include extreme “folding” as described by Carpendale. Folding occurs in a detail-in-context presentation, for example, when the applied distortion causes an undistorted surface of the presentation to be hidden by a portion of the distorted surface when viewed by a user on a computer display screen.

[0014] A need therefore exists for the effective inversion of distortions, including folds, in detail-in-context presentations in detail-in-context presentation systems. Consequently, it is an object of the present invention to obviate or mitigate at least some of the above mentioned disadvantages.

SUMMARY OF THE INVENTION

[0015] In general, the present invention provides for the effective inversion of distortions, including folds, in detail-in-context presentations in detail-in-context presentation systems.

[0016] According to one aspect of the invention, a method is provided for inverting a distorted surface presentation into an undistorted surface presentation in a detail-in-context presentation system. The method includes the steps of: (a) selecting an input point {overscore (p)}_(input) on the undistorted surface; (b) calculating a vector {overscore (ν)} from the input point {overscore (p)}_(input) to a reference viewpoint ν{overscore (r)}p; (c) locating a starting point {overscore (p)}_(i−1), the starting point {overscore (p)}_(i−1) lying above the distorted surface and on the vector {overscore (ν)}; (d) locating a first bracketing point {overscore (p)}, for a first intersection point of the vector {overscore (ν)} and the distorted surface, the first bracketing point {overscore (p)}, lying above the distorted surface and on the vector {overscore (ν)}; (e) locating a second bracketing point {overscore (p)}_(i−1) for the first intersection point, the second bracketing point {overscore (p)}_(i−1) lying below the distorted surface, and below the first intersection point, but above any subsequent intersection points of the vector {overscore (ν)} and the distorted surface; (f) locating a midpoint {overscore (p)}_(mid) between the first and second bracketing points {overscore (p)}_(i), {overscore (p)}_(i−1); and, (g) determining if the midpoint {overscore (p)}_(mid) is an acceptable approximation for the first intersection point; the acceptable approximation being an inversion point corresponding to the input point {overscore (p)}_(input).

[0017] According to another aspect of the invention, the method further includes the step of repeating steps (a) through (g) for remaining input points {overscore (p)}_(input).

[0018] Advantageously, the method may be applied to a distorted point that is acted on by a single lens including a lens having extreme “folding”. The present invention facilitates the location of the point in the undistorted data space which, when distorted, yields a specified point in the distorted data space. Then, if desired, the inverse mapping of the entire distorted space to the original undistorted data space can be obtained as the inverse mapping of the locus of the points in the distorted data space.

BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Embodiments of the invention may best be understood by referring to the following description and accompanying drawings. In the description and drawings, line numerals refer to like structures or processes. In the drawings:

[0020]FIG. 1 is a graphical representation of the geometry for constructing a three-dimensional (3D) perspective viewing frustum, relative to an x, y, z coordinate system, in accordance with known elastic presentation space (EPS) graphics technology;

[0021]FIG. 2 is a graphical representation of the geometry of a presentation in accordance with known EPS graphics technology;

[0022]FIG. 3 is a block diagram illustrating an exemplary data processing system for implementing an embodiment of the invention;

[0023]FIG. 4 is a graphical representation of the geometry of a presentation illustrating the intersection points of a vector {overscore (ν)} drawn from the view reference point through the distorted surface in accordance with an embodiment of the invention;

[0024]FIG. 5 is shown a graphical representation of the geometry of a presentation illustrating points outside, points on, and points inside a distorted surface, in accordance with an embodiment of the invention;

[0025]FIG. 6(a) is a graphical representation of the geometry of a presentation illustrating the process of stepping towards the intersection point for a distorted surface without extreme folding, in accordance with an embodiment of the invention;

[0026]FIG. 6(b) is a graphical representation of the geometry of a presentation illustrating the process of stepping towards the intersection point for a distorted surface with extreme folding, in accordance with an embodiment of the invention;

[0027]FIG. 7 is a graphical representation of the geometry of a presentation illustrating defined parameters in accordance with an embodiment of the invention;

[0028]FIG. 8(a) is a graph illustrating the field function F({overscore (p)}) along the domain of {overscore (ν)} for the lens of FIG. 6(a), in accordance with an embodiment of the invention;

[0029]FIG. 8(b) is a graph illustrating the field function F({overscore (p)}) along the domain of {overscore (ν)} for the lens of FIG. 6(b), in accordance with an embodiment of the invention; and,

[0030]FIG. 9 is a graph illustrating the field function F({overscore (p)}) along the domain of {overscore (ν)} for the lens of FIG. 6(b) in the event of overstepping, in accordance with an embodiment of the invention; and,

[0031]FIG. 10 is a flow chart illustrating a general method for inversion in accordance with an embodiment of the invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0032] In the following description, numerous specific details are set forth to provide a thorough understanding of the invention. However, it is understood that the invention may be practiced without these specific details. In other instances, well-known software, circuits, structures and techniques have not been described or shown in detail in order not to obscure the invention. In the drawings, like numerals refer to like structures or processes.

[0033] The term “data processing system”, is used herein to refer to any machine for processing data, including the computer systems and network arrangements described herein. The term “Elastic Presentation Space” (“EPS”) (or “Pliable Display Technology” (“PDT”)) is used herein to refer to techniques that allow for the adjustment of a visual presentation without interfering with the information content of the representation. The adjective “elastic” is included in the term as it implies the capability of stretching and deformation and subsequent return to an original shape. EPS graphics technology is described by Carpendale in “A Framework for Elastic Presentation Space” (Carpendale, Marianne S. T., A Framework for Elastic Presentation Space (Burnaby, British Columbia: Simon Fraser University, 1999)) which is incorporated herein by reference. In EPS graphics technology, a two-dimensional visual representation is placed onto a surface; this surface is placed in three-dimensional space; the surface, containing the representation, is viewed through perspective projection; and the surface is manipulated to effect the reorganization of image details. The presentation transformation is separated into two steps: surface manipulation or distortion and perspective projection.

[0034] Referring to FIG. 1, there is shown a graphical representation 100 of the geometry for constructing a three-dimensional (3D) perspective viewing frustum 220, relative to an x, y, z coordinate system, in accordance with known elastic presentation space (EPS) graphics technology. In the EPS, detail-in-context views of 2D visual representations are created with sight-line aligned distortions of a two-dimensional (2D) information presentation surface within a 3D perspective viewing frustum 220. In EPS, magnification of regions of interest and the accompanying compression of the contextual region to accommodate this change in scale are produced by the movement of regions of the surface towards the viewpoint 240 located at the apex of the pyramidal shape 220 containing the frustum. The process of projecting these transformed layouts via a perspective projection results in a new 2D layout which includes the zoomed and compressed regions. The use of the third dimension and perspective distortion to provide magnification in EPS provides a meaningful metaphor for the process of distorting the information presentation surface. The 3D manipulation of the information presentation surface in such a system is an intermediate step in the process of creating a new 2D layout of the information.

[0035] Referring to FIG. 2, there is shown a graphical representation 200 of the geometry of a presentation in accordance with known EPS graphics technology. EPS graphics technology employs viewer-aligned perspective projections to produce detail-in-context presentations in a reference view plane 201 which may be viewed on a display. Undistorted 2D data points are located in a basal plane 210 of a 3D perspective viewing volume or frustum 220 which is defined by extreme rays 221 and 222 and the basal plane 210. A viewpoint (“VP”) 240 is located above the centre point of the basal plane 210 and reference view plane 201. Points in the basal plane 210 are displaced upward onto a distorted surface 230 which is defined by a general 3D distortion function (i.e. a detail-in-context distortion basis function). The direction of the viewer-aligned perspective projection corresponding to the distorted surface 230 is indicated by the line FPo-FP 231 drawn from a point FPo 232 in the basal plane 210 through the point FP 233 which corresponds to the focus or focal region or focal point of the distorted surface 230.

[0036] To reiterate, EPS refers to a collection of know-how and techniques for performing “detail-in-context viewing” (also known as “multi-scale viewing”and “distortion viewing”) of information such as images, maps, and text, using a projection technique summarized below. EPS is applicable to multidimensional data and is well suited to implementation on a computer for dynamic detail-in-context display on an electronic display surface such as a monitor. In the case of two dimensional data, EPS is typically characterized by magnification of areas of an image where detail is desired, in combination with compression of a restricted range of areas of the remaining information (the “context”), the end result typically giving the appearance of a lens having been applied to the display surface. EPS has numerous advantages over conventional zoom, pan, and scroll technologies, including the capability of preserving the visibility of information outside the local region of interest.

[0037] In general, in EPS, The source image to be viewed is located in the basal plane. Magnification and compression are achieved through elevating elements of the source image relative to the basal plane, and then projecting the resultant distorted surface onto the reference view plane. EPS performs detail-in-context presentation of n-dimensional data through the use of a procedure wherein the data is mapped into a region in an (n+1) dimensional space, manipulated through perspective projections in the (n+1) dimensional space, and then finally transformed back into n-dimensional space for presentation.

[0038] For example, and referring to FIGS. 1 and 2, in two dimensions, EPS can be implemented through the projection of an image onto a reference plane 201 in the following manner. The source image is located on a basal plane 210, and those regions of interest 233 of the image for which magnification is desired are elevated so as to move them closer to a reference plane situated between the reference viewpoint 240 and the reference view plane (RVP) 201. Magnification of the “focal region” 233 closest to the RVP varies inversely with distance from the RVP 201. As shown in FIGS. 1 and 2, compression of regions outside the focal region 233 is a function of both distance from the RVP 201, and the gradient of the function describing the vertical distance from the RVP 201 with respect to horizontal distance from the focal region 233. The resultant combination of magnification and compression of the image as seen from the reference viewpoint 240 results in a lens-like effect similar to that of a magnifying glass applied to the image, and the resultant distorted image may be referred to as a “pliable display surface”. Hence, the various functions used to vary the magnification and compression of the image via vertical displacement from the basal plane 210 are described as lenses, lens types, or lens functions. Lens functions that describe basic lens types with point and circular focal regions, as well as certain more complex lenses and advanced capabilities such as folding, have previously been described by Carpendale.

[0039] System. Referring to FIG. 3, there is shown a block diagram of an exemplary data processing system 300 for implementing an embodiment of the invention. The data processing system is suitable for implementing EPS technology. The data processing system 300 includes an input device 310, a central processing unit or CPU 320, memory 330, and a display 340. The input device 310 may include a keyboard, mouse, trackball, or similar device. The CPU 320 may include dedicated coprocessors and memory devices. The memory 330 may include RAM, ROM, databases, or disk devices. And, the display 340 may include a computer screen or terminal device. The data processing system 300 has stored therein data representing sequences of instructions which when executed cause the method described herein to be performed. Of course, the data processing system 300 may contain additional software and hardware a description of which is not necessary for understanding the invention.

[0040] Method. Referring to FIGS. 1 through 9, a method for finding the inverse of a detail-in-context distortion 230 of a data presentation according to one embodiment of the invention will now be described. The presentation can be generated, using, for example, a perspective projection technique such as that described by Carpendale in which viewer-aligned perspective projections are used to produce detail-in-context presentations in a reference view plane 201 which may be viewed on a display 340. In the process of producing the presentation, the undistorted two-dimensional data is located in the basal plane 210 of a three-dimensional perspective viewing volume 220. Using PDT, points in the basal plane 110 are displaced upward onto a distorted surface 230 which is based on a three-dimensional distortion function (“D”). In the following, the term “undisplacement” (or “undisplace”) will refer to the application of the inverse distortion to a particular point in distorted space. In general, the PDT distortion of a point is not analytically invertible. The method of the present invention includes procedures to undisplace a point that has been distorted by a PDT lens. Advantageously, the method may be applied to a distorted point that is acted on by a single lens including a lens having extreme “folding” as defined by Carpendale. The present invention facilitates the location of the point in the undistorted data space which, when distorted, yields a specified point in the distorted data space. Then, if desired, the inverse mapping of the entire distorted space to the original undistorted data space can be obtained as the inverse mapping of the locus of the points in the distorted data space.

[0041] Referring to FIG. 4, there is shown a graphical representation 400 of the geometry of a presentation illustrating the intersection points of a vector {overscore (ν)} drawn frame the view reference point 240 through the distorted surface 230 in accordance with an embodiment of the invention. Given the vector {overscore (ν)} from the view reference point 240 of the viewing frustrum 220 to the input point 410 requiring undisplacement, an intersection point 420 must first be found where the vector {overscore (ν)} intersects the three-dimensional PDT distorted surface 230. The intersection point 420 corresponds to the three-dimensional displacement of the undisplaced point 430 in the basal plane 210, the undisplaced point 430 being the point that the method will determine.

[0042] Referring to FIG. 5, there is shown a graphical representation 500 of the geometry of a presentation illustrating points outside 510 (“−”), points on 520 (“0”), and points inside 530 (“+”) a distorted surface 230, in accordance with an embodiment of the invention. The method employs a “field function” that specifies whether a point falls above 510, on 520, or below 530 the distorted surface 230. If the point falls on 520 the surface 230, then the field function returns a value of zero. A negative value is returned if the point falls above 510 the surface 230 and a positive value is returned if the point falls below 530 the surface 230. Given the vector {overscore (ν)} from the input point 410 to the view reference point 240, two points on {overscore (ν)} can be found such that the field function returns opposite signs for each point. These points “bracket” the point of intersection 420. The point of intersection 420 can then be found with a “bisection search” where the bracketing points are used to locate the intersection.

[0043] Referring to FIG. 6(a), there is shown a graphical representation 600 of the geometry of a presentation illustrating the process of stepping towards the intersection point 420 for a distorted surface 230 without extreme folding, in accordance with an embodiment of the invention. Two bracketing points 610, including an upper bracketing point 611 and a lower bracketing point 612, are found which can then be used in a bisection process to find the intersecting point 420. Referring to FIG. 6(b), there is shown a graphical representation 605 of the geometry of a presentation illustrating the process of stepping towards the intersection point 420 for a distorted surface 230 with extreme folding, in accordance with an embodiment of the invention. Extreme folding occurs in a detail-in-context presentation, for example, when the applied distortion 230 causes an undistorted surface 210 of the presentation to be hidden by a portion of the distorted surface 640 when viewed by a user on a computer display screen 340. If a lens has undergone extreme folding, then the lower bracketing point 612 may be missed in the stepping process. If this occurs, then step refinement is used to decrease the magnitude of the step size 630.

[0044] Beginning at a starting point 620 on {overscore (ν)} that lies above 510 the distorted surface 230, an initial step size 630 is used to step along {overscore (ν)} towards the distorted surface 230. The field function is evaluated at each point along {overscore (ν)} and the sign of the result is compared with the sign of the field function evaluation for the previous point. If the comparison yields opposite signs, then two points 610 have been obtained that bracket the intersecting point 420. If the comparison yields the same signs, then one of two instances will have occurred. In the first instance, a point has been obtained that is still above 510 the surface 230 and the stepping process may continue. In the second instance, a point has been obtained that falls below a folded cusp 640 of the distorted surface 230 that may result due to extreme folding. This phenomenon will be referred to as “overstepping” 650. Overstepping 650 occurs if the step size 630 is too large resulting in the lower bracketing point 612 being missed (i.e. overstepped) in the stepping process. If this occurs, then the step size 630 is reduced to avoid missing the lower bracketing point 612. Once the bracketing points 610 have been obtained, then a bisection search is used to locate the intersecting point. This search will be described in more detail below.

[0045] Referring to FIG. 7, there is shown a graphical representation 700 of the geometry of a presentation illustrating defined parameters in accordance with an embodiment of the invention. The illustrated parameters will be used in the following mathematical description of the method. Let {overscore (p)}_(input) 410 be the point to be undisplaced and let v{overscore (r)}p be the view reference point 240 of the viewing frustrum 220. Define {overscore (ν)} as the vector from {overscore (p)}_(input) to v{overscore (r)}p and let {overscore (p)} be any point on {overscore (ν)}. If {overscore (d)} is the direction of displacement of the three-dimensional PDT distortion 230, then let {overscore (p)}_(back) be the back-projection of {overscore (p)} along {overscore (d)} onto the baseplane 210. Let the three-dimensional PDT distortion of {overscore (p)}_(back) be defined by D₃({overscore (p)}_(back)). The field function that is used to specify whether a point falls below, above, or on a PDT distorted surface 230 is defined as F({overscore (p)})=D₃({overscore (p)}_(back))_(≅)−{overscore (p)}_(z), which returns a scalar value. The field function compares the z components of the point of interest and the corresponding PDT distorted value of the back-projected point. The field function F({overscore (p)}) along the domain of {overscore (ν)} may be plotted.

[0046] Referring to FIG. 8(a), there is shown a graph 800 illustrating the field function F({overscore (p)}) along the domain of {overscore (ν)} for the lens 230 of FIG. 6(a), in accordance with an embodiment of the invention.

[0047] Referring to FIG. 8(b), there is shown a graph 805 illustrating the field function F({overscore (p)}) along the domain of {overscore (ν)} for the lens 230 of FIG. 6(b), in accordance with an embodiment of the invention. The graph shown in FIG. 8(a) has one root 420 that corresponds to the single intersection of {overscore (ν)} with the surface 230 illustrated in FIG. 6(a). The graph shown in FIG. 8(b) has three roots 420 since {overscore (ν)} intersects the surface 230 in FIG. 6(b) three times.

[0048] To converge on the correct root 420, it is essential that a good starting point 620 for initiating the stepping process be chosen. Since it is desired to converge on the root 420 that has the largest z value (i.e. the bracketed root 421 in FIG. 8(b)), a starting point {overscore (p)}₀ that has a larger z value than this root 420 is chosen. Referring to FIG. 7, this corresponds to a starting value {overscore (p)}₀ on {overscore (ν)} that is above the PDT surface 230. Mathematically, {overscore (p)}₀ may be described by ${{\overset{\_}{p}}_{0} = {{\overset{\_}{p}}_{input} + {\left( {\frac{h}{v_{z}} + {step}} \right)\overset{\_}{v}}}},$

[0049] where h is the height of the lens 230 and step is a predetermined initial step size 630.

[0050] The stepping process is initiated with {overscore (p)}₀. In general, given a point {overscore (p)}_(i) on {overscore (ν)}, the next point on {overscore (ν)} is {overscore (p)}_(i+1)={overscore (p)}_(i)−step·{overscore (ν)}. The field function F({overscore (p)}) is evaluated at {overscore (p)}_(i+1) and {overscore (p)}_(i+1). If the evaluations yield the same signs for {overscore (p)}_(i) and {overscore (p)}_(i+1), then one of two instances will have occured. In the first instance, a point has been obtained that is still above 510 the distorted surface 230 and the stepping process may continue. In the second instance, a point has been obtained that falls below the cusp 640 of a folded lens 230 resulting in overstepping 650. The field function results at {overscore (p)}_(i) and {overscore (p)}_(i+1) (i.e. F({overscore (p)}) and F({overscore (p)}_(i+1)), respectively) and the slopes at {overscore (p)}_(i) and {overscore (p)}_(i+1) (i.e. F′({overscore (p)}_(i)) and F′({overscore (p)}_(i+1)), respectively) can be used to determine whether the first or second instance has occurred. If the sign of F′({overscore (p)}_(i)) is equal to the sign of F′({overscore (p)}_(i+1)) and, at the same time, the sign of F({overscore (p)}_(i)) is equal to the sign of F({overscore (p)}_(i+1)), then the first instance has occurred and both points are still above the surface. If the sign of F′({overscore (p)}_(i)) is not equal to the sign of F′({overscore (p)}_(i+1)) and, at the same time, the sign of F({overscore (p)}_(i+1)) is equal to the sign of F({overscore (p)}_(i+1)), then overstepping has occurred. If overstepping occurs then the step size 630 must be refined (i.e. decreased in magnitude) until these overstepping conditions evaluate to false. Referring to FIG. 8(b), when these conditions evaluate to false, then two points 611, 612 have been found that bracket the intersection point 420. Once two points 611, 612 have been found that bracket the intersection point 420 (i.e. when the field function evaluations at {overscore (p)}_(i) and {overscore (p)}_(i+1) return opposite signs), then a bisection search can be used to calculate the intersection point 420.

[0051] Referring to FIG. 9, there is shown a graph 900 illustrating the field function F({overscore (p)})along the domain of {overscore (ν)} for the lens 230 of FIG. 6(b) in the event of overstepping, in accordance with an embodiment of the invention. Note that the slopes at the two points {overscore (p)}_(i) and {overscore (p)}_(i+1) have opposite signs, but that the field function evaluations for these points yield the same signs. These conditions indicate that overstepping has occurred. The point {overscore (p)}_(i+1) has to fall in the bold region 910 of the graph to be valid (i.e. above the z-axis between roots 420).

[0052] Referring to FIGS. 6 through 9, the bisection search method may be described as follows. First, compute the midpoint ${\overset{\_}{p}}_{mid} = {\frac{1}{2}\left( {{\overset{\_}{p}}_{i} + {\overset{\_}{p}}_{i + 1}} \right)}$

[0053] and back-project this midpoint {overscore (p)}_(mid) along {overscore (d)} onto the baseplane 210 to get a point {overscore (p)}_(midback). Let D₂({overscore (p)}_(midback)) denote the two-dimensional PDT distortion of {overscore (p)}_(midback). The point {overscore (p)}_(mid) is a good approximation to the intersection point 420 if ∥D₂({overscore (p)}_(midback))−{overscore (p)}_(input)∥<ε, where ε is small. If this condition is false, then the bisection search continues with either {overscore (p)}_(i) and {overscore (p)}_(mid) or with {overscore (p)}_(i+1) and {overscore (p)}_(mid) until the condition is met. When a good approximation of the intersection point 420 is found, then the corresponding back-projection of this approximation is returned as the undisplaced result for {overscore (p)}_(input) 410.

[0054] Referring to FIG. 10, there is shown a flow chart 1000 illustrating a general method for inversion in accordance with an embodiment of the invention. In general the method is for inverting a distorted surface presentation into an undistorted surface presentation in a detail-in-context presentation system; the presentation system establishing a notional three-dimensional perspective viewing frustrum with respect to an x, y, and z-axis coordinate system; the frustrum including a reference viewpoint v{overscore (r)}p at an apex lying on the z-axis, a base in an xy-plane including the undistorted surface, and a reference view plane lying between the reference viewpoint v{overscore (r)}p and the undistorted surface and upon which the distorted surface is projected; the presentation system including a display screen for viewing the reference view plane by a user; the distorted surface created by the application of a three-dimensional distortion function D₃ to the undistorted surface; the distorted surface having a direction of displacement {overscore (d)}; the distorted surface having a height h above the undistorted surface. The method includes several steps as follows.

[0055] At step 1001, the method starts.

[0056] At step (a), an input point {overscore (p)}_(input) on the undistorted surface is selected.

[0057] At step (b), a vector {overscore (ν)} from the input point {overscore (p)}_(input) to the reference viewpoint v{overscore (r)}p is calculated.

[0058] At step (c), a starting point {overscore (p)}₀ 620 is located by adding to the input point {overscore (p)}_(input) the vector {overscore (ν)} scaled by a predetermined step value step added to a ratio of the height h and a z-axis component of the vector {overscore (ν)} that is, {overscore (p)}₀={overscore (p)}_(input)+(h/ν_(z)+step) {overscore (ν)}. The starting point {overscore (p)}₀ lies above the distorted surface and on the vector {overscore (ν)}. The starting point may be designated {overscore (p)}_(i−1).

[0059] At step (d), a first bracketing point {overscore (p)}_(i) 611 for a first intersection point of the vector {overscore (ν)} and the distorted surface is located by subtracting from the starting point {overscore (p)}_(i−1) the vector {overscore (ν)} scaled by a predetermined step value step, that is, {overscore (p)}_(i)={overscore (p)}_(i−1)−step·{overscore (ν)}. The first bracketing point {overscore (p)}_(i) lies above the distorted surface and on the vector {overscore (ν)}. Note that this step is optional in that the first bracketing point {overscore (p)}_(i) may be set equal to the starting point {overscore (p)}_(i−1).

[0060] At step (e), a second bracketing point {overscore (p)}_(i+1) 612 for the first intersection point is located by subtracting from the first bracketing point {overscore (p)}_(i) the vector {overscore (ν)} scaled by a predetermined step value step, that is, {overscore (p)}_(i+1)={overscore (p)}_(i)−step·{overscore (ν)}. The second bracketing point {overscore (p)}_(i+1) lies below the distorted surface, and below the first intersection point, but above any subsequent intersection points of the vector {overscore (ν)} and the distorted surface. In other words, the first bracketing point {overscore (p)}_(i) and the second bracketing point {overscore (p)}_(i+1) are located to bracket the first intersection point 421. In general, the first and second bracketing points are located by iteration.

[0061] To determine if the first and second bracketing points do bracket the first intersection point, the following steps are performed;

[0062] locating a first back-projection point {overscore (p)}_(back)(i) by projecting the first bracketing point {overscore (p)}_(i) parallel to the direction of displacement {overscore (d)} onto the undistorted surface;

[0063] locating a second back-projection point {overscore (p)}_(back)(i+1) by projecting the second bracketing point {overscore (p)}_(i+1) parallel to the direction of displacement {overscore (d)} onto the undistorted surface;

[0064] determining a first field function value sign SIGN(F({overscore (p)}_(i))) for the first bracketing point {overscore (p)}_(i) by:

[0065] taking the sign of a first field function value F({overscore (p)}_(i)); the first field function value F({overscore (p)}_(i)) determined by:

[0066] calculating a first three-dimensional distortion function point for the first back-projection point D₃({overscore (p)}_(back)(i)) by applying the three-dimensional distortion function D₃ to the first back-projection point {overscore (p)}_(back)(i) and subtracting from a z-axis component of the first three-dimensional distortion function point D₃({overscore (p)}_(back)(i)) a z-axis component of the first bracketing point {overscore (p)}_(i), that is, F({overscore (p)}_(i))=D₃({overscore (p)}_(back)(i))_(z)−({overscore (p)}_(i))_(z);

[0067] determining a second field function value sign SIGN(F({overscore (p)}_(i+1))) for the second bracketing point {overscore (p)}_(i+1) by:

[0068] taking the sign of a second field function value F({overscore (p)}_(i+1)); the second field function value F({overscore (p)}_(i+1)) determined by:

[0069] calculating a second three-dimensional distortion function point for the second back-projection point D₃({overscore (p)}_(back)(i+1)) by applying the three-dimensional distortion function D₃ to the second back-projection point {overscore (p)}_(back)(i+1) and subtracting from a z-axis component of the second three-dimensional distortion function point D₃({overscore (p)}_(back)(i+1)) a z-axis component of the second bracketing point {overscore (p)}_(i+1), that is, F({overscore (p)}_(i+1))=D₃({overscore (p)}_(back)(i+1))_(z)−({overscore (p)}_(i+1))_(z); and,

[0070] determining if the first bracketing point {overscore (p)}_(i) and the second bracketing {overscore (p)}_(i+1) point bracket the first intersection point. The first bracketing point and the second bracketing point bracket the first intersection point if the first field function value sign SIGN(F({overscore (p)}_(i))) is not equal to the second field function value sign SIGN(F({overscore (p)}_(i+1))), that is, SIGN(F({overscore (p)}_(i)))≠SIGN(F({overscore (p)}_(i+1))).

[0071] If the first bracketing point {overscore (p)}_(i) and the second bracketing point {overscore (p)}_(i+1) do not bracket the first intersection point, that is, SIGN(F({overscore (p)}_(i)))=SIGN(F({overscore (p)}_(i+1))), then either the second bracketing point {overscore (p)}_(i+1) lies above the distorted surface or the second bracketing point {overscore (p)}_(i+1) has overstepped the distorted surface. In the first case, new first and second bracketing points are located by redefining the second bracketing point {overscore (p)}_(i+1) as the first bracketing point {overscore (p)}_(i) and repeating step (e). In the second case, a new second bracketing point {overscore (p)}_(i+1) is located by reducing the predetermined step value step by a predetermined amount and repeating step (e).

[0072] To determine if the second bracketing point {overscore (p)}_(i+1) lies above the distorted surface, the following steps are performed:

[0073] determining a first field function slope value sign SIGN(F′({overscore (p)}_(i))) for the first bracketing point {overscore (p)}_(i);

[0074] determining a second field function slope value sign SIGN(F′({overscore (p)}_(i+1))) for the second bracketing point {overscore (p)}_(i+1); and,

[0075] determining if the second bracketing point {overscore (p)}_(i+1) lies above the distorted surface. The second bracketing point lies above the distorted surface if SIGN(F({overscore (p)}_(i)))=SIGN(F({overscore (p)}_(i+1))) and SIGN(F′({overscore (p)}_(i)))=SIGN(F′({overscore (p)}_(i+1))).

[0076] To determine if the second bracketing point {overscore (p)}_(i+1) has overstepped the distorted surface, the following steps are performed:

[0077] determining a first field function slope value sign SIGN(F′({overscore (p)}_(i))) for the first bracketing point {overscore (p)}_(i);

[0078] determining a second field function slope value sign SIGN(F′({overscore (p)}_(i+1))) for the second bracketing point {overscore (p)}_(i); and,

[0079] determining if the second bracketing point {overscore (p)}_(i+1) has overstepped the distorted surface. The second bracketing point has overstepped the distorted surface if SIGN(F({overscore (p)}_(i)))=SIGN(F({overscore (p)}_(i+1))) and SIGN(F′({overscore (p)}_(i)))≠SIGN(F′({overscore (p)}_(i+1))).

[0080] At step (f), a midpoint {overscore (p)}_(mid) between the first and second bracketing points {overscore (p)}_(i), {overscore (p)}_(i+1) located by adding the first and second bracketing points {overscore (p)}_(i), {overscore (p)}_(i+1) and dividing by two, that is, ${\overset{\_}{p}}_{mid} = {\frac{1}{2}{\left( {{\overset{\_}{p}}_{i} + {\overset{\_}{p}}_{i + 1}} \right).}}$

[0081] At step (g), a determination if the midpoint {overscore (p)}_(mid) is an acceptable approximation for the first intersection point is made by:

[0082] locating a midpoint back-projection point {overscore (p)}_(midback) by projecting the midpoint {overscore (p)}_(mid) parallel to the direction of displacement {overscore (d)} onto the undistorted surface;

[0083] calculating a two-dimensional distortion function point for the midpoint back-projection point D₂({overscore (p)}_(midback)) by applying a two-dimensional distortion function D₂ to the midpoint back-projection point {overscore (p)}_(midback); the two-dimensional distortion function D₂ being the three-dimensional distortion function D₃ in the xy plane;

[0084] calculating a magnitude of the difference between the two-dimensional distortion function point D₂({overscore (p)}_(midback)) and the input point {overscore (p)}_(input), that is, ∥D₂({overscore (p)}_(midback))−{overscore (p)}_(input)∥; and,

[0085] comparing the magnitude of the difference ∥D₂({overscore (p)}_(midback))−{overscore (p)}_(input)∥ to a predetermined tolerance ε; the midpoint {overscore (p)}_(mid) being the acceptable approximation for the first intersection point if the magnitude of the difference is less than the predetermined tolerance ε, that is, ∥D₂({overscore (p)}_(midback))−{overscore (p)}_(input)∥<ε; and, if the magnitude of the difference ∥D₂({overscore (p)}_(midback))−{overscore (p)}_(input)∥ is not less than the predetermined tolerance ε, than redefining one of the first and second bracketing points {overscore (p)}_(i), {overscore (p)}_(i+1) as the midpoint {overscore (p)}_(mid) and repeating steps (f) and (g) until the acceptable approximation is located for the first intersection point; the acceptable approximation being an inversion point corresponding to the input point {overscore (p)}_(input).

[0086] At step 1002, the method ends.

[0087] Finally, steps (a) through (g) may be repeated for remaining input points {overscore (p)}_(input).

[0088] Data Carrier Product. The sequences of instructions which when executed cause the method described herein to be performed by the exemplary data processing system of FIG. 3 can be contained in a data carrier product according to one embodiment of the invention. This data carrier product can be loaded into and run by the exemplary data processing system of FIG. 3.

[0089] Computer Software Product. The sequences of instructions which when executed cause the method described herein to be performed by the exemplary data processing system of FIG. 3 can be contained in a computer software product according to one embodiment of the invention. This computer software product can be loaded into and run by the exemplary data processing system of FIG. 3.

[0090] Integrated Circuit Product. The sequences of instructions which when executed cause the method described herein to be performed by the exemplary data processing system of FIG. 3 can be contained in an integrated circuit product including a coprocessors or memory according to one embodiment of the invention. This integrated circuit product can be installed in the exemplary data processing system of FIG. 3.

[0091] Although preferred embodiments of the invention have been described herein, it will be understood by those skilled in the art that variations may be made thereto without departing from the spirit of the invention or the scope of the appended claims. 

1. A method for inverting a distorted surface presentation into an undistorted surface presentation in a detail-in-context presentation system comprising the steps of: a) selecting an input point {overscore (p)}_(input) on said undistorted surface; b) calculating a vector {overscore (ν)} from said input point {overscore (p)}_(input) to a reference viewpoint v{overscore (r)}p; c) locating a starting point {overscore (p)}_(i+1), said starting point {overscore (p)}_(i+1) lying above said distorted surface and on said vector {overscore (ν)}; d) locating a first bracketing {overscore (p)}_(i) for a first intersection point of said vector {overscore (ν)} and said distorted surface, said first bracketing point {overscore (p)}_(i) lying above said distorted surface and on said vector {overscore (ν)}; e) locating a second bracketing point {overscore (p)}_(i+1) for said first intersection point, said second bracketing point {overscore (p)}_(i+1) lying below said distorted surface, and below said first intersection point, but above any subsequent intersection points of said vector {overscore (ν)} and said distorted surface; f) locating a midpoint {overscore (p)}_(mid) between said first and second bracketing points {overscore (p)}_(i), {overscore (p)}_(i+1); and, g) determining if said midpoint {overscore (p)}_(mid) is an acceptable approximation for said first intersection point, said acceptable approximation being an inversion point corresponding to said input point {overscore (p)}_(input).
 2. The method of claim 1 and further comprising the step of repeating steps (a) through (g) for remaining input points {overscore (p)}_(input).
 3. The method of claim 1 wherein said step of locating said starting point {overscore (p)}_(i−1) comprises the step of: adding to said input point {overscore (p)}_(input) said vector {overscore (ν)} scaled by a predetermined step value step added to a ratio of said height h and a z-axis component of said vector {overscore (ν)}, that is, {overscore (p)}_(i−1)={overscore (p)}_(input)+(h/ν₂+step) {overscore (ν)}.
 4. The method of claim 1 wherein said step of locating said first bracketing point {overscore (p)}_(i) comprises the step of: subtracting from said starting point {overscore (p)}_(i+1) said vector {overscore (ν)} scaled by said predetermined step value step, that is, {overscore (p)}_(i)={overscore (p)}_(i+1)−step·{overscore (ν)}.
 5. The method of claim 1 wherein said step of locating said second bracketing point {overscore (p)}_(i+1) comprises the steps of: subtracting from said first bracketing point {overscore (p)}_(i) said vector {overscore (ν)} scaled by said predetermined step value step, that is, {overscore (p)}_(i+1)={overscore (p)}_(i)−step·{overscore (ν)}; determining if said second bracketing point {overscore (p)}_(i+1) lies below said distorted surface, and below said first intersection point, but above any subsequent intersection points of said vector {overscore (ν)} and said distorted surface by: locating a first back-projection point {overscore (p)}_(back)(i) by projecting said first bracketing point {overscore (p)}_(i) parallel to a direction of displacement of said distorted surface {overscore (d)} onto said undistorted surface; locating a second back-projection point {overscore (p)}_(back)(i+1) by projecting said second bracketing point {overscore (p)}_(i+1) parallel to said direction of displacement {overscore (d)} onto said undistorted surface; determining a first field function value sign SIGN(F({overscore (p)}_(i))) for said first bracketing point {overscore (p)}_(i) by: taking the sign of a first field function value F({overscore (p)}_(i)); said first field function value F({overscore (p)}_(i)) determined by: calculating a first three-dimensional distortion function point for said first back-projection point D₃({overscore (p)}_(back)(i)) by applying said three-dimensional distortion function D₃ to said first back-projection point {overscore (p)}_(back)(i) and subtracting from a z-axis component of said first three-dimensional distortion function point D₃({overscore (p)}_(back)(i)) a z-axis component of said first bracketing point {overscore (p)}_(i), that is, F({overscore (p)}_(i))=D₃({overscore (p)}_(back)(i))_(z)−({overscore (p)}_(i))_(z); determining a second field function value sign SIGN(F({overscore (p)}_(i+1))) for said second bracketing point {overscore (p)}_(i+1) by: taking the sign of a second field function value F({overscore (p)}_(i+1)); said second field function value F({overscore (p)}_(i+1)) determined by: calculating a second three-dimensional distortion function point for said second back-projection point D₃({overscore (p)}_(back)(i+1)) by applying said three-dimensional distortion function D₃ to said second back-projection point {overscore (p)}_(back)(i+1) and subtracting from a z-axis component of said second three-dimensional distortion function point D₃({overscore (p)}_(back)(i+1)) a z-axis component of said second bracketing point {overscore (p)}_(i+1), that is, F({overscore (p)}_(i+1))=D₃({overscore (p)}_(back)(i+1))_(z)−({overscore (p)}_(i+1))_(z); comparing said first field function value sign SIGN(F({overscore (p)}_(i))) to said second field function value sign SIGN(F({overscore (p)}_(i+1))); said second bracketing point {overscore (p)}_(i+1) lying below said distorted surface, and below said first intersection point, but above any subsequent intersection points of said vector {overscore (ν)} and said distorted surface if said first field function value sign SIGN(F({overscore (p)}_(i))) is not equal to said second field function value sign, that is, SIGN(F({overscore (p)}_(i+1)))≠SIGN(F({overscore (p)}_(i+1))); and, relocating said second bracketing point {overscore (p)}_(i+1) if said second bracketing point {overscore (p)}_(i+1) does not lie below said distorted surface, and below said first intersection point, but above any subsequent intersection points of said vector {overscore (ν)}, that is, SIGN(F({overscore (p)}_(i+1)))=SIGN(F({overscore (p)}_(i+1))), by: determining a first field function slope value sign SIGN(F′({overscore (p)}_(i))) for said first bracketing point {overscore (p)}_(i); determining a second field function slope value sign SIGN(F′({overscore (p)}_(i+1))) for said second bracketing point {overscore (p)}_(i+1); comparing said first field function slope value sign SIGN(F′({overscore (p)}_(i))) and said second field function slope value sign SIGN(F′({overscore (p)}_(i+1))); and, if said first field function slope value sign SIGN(F′({overscore (p)}_(i))) equals said second field function slope value sign SIGN(F′({overscore (p)}_(i+1))), that is, SIGN(F′({overscore (p)}_(i+1)))=SIGN(F′({overscore (p)}_(i+1))), then redefining said second bracketing point {overscore (p)}_(i+1) as said first bracketing point {overscore (p)}_(i) and repeating said step of locating said second bracketing point {overscore (p)}_(i+1), or if said first field function slope value sign SIGN(F′({overscore (p)}_(i))) does not equal said second field function slope value sign SIGN(F′({overscore (p)}_(i))), that is, SIGN(F′({overscore (p)}_(i+1)))≠SIGN(F′({overscore (p)}_(i+1))), then reducing said predetermined step value step by a predetermined amount and repeating said step of locating said second bracketing point {overscore (p)}_(i+1).
 6. The method of claim 1 wherein said step of locating a midpoint {overscore (p)}_(mid) between said first and second bracketing points {overscore (p)}_(i), {overscore (p)}_(i+1) comprises the step of: adding said first and second bracketing points {overscore (p)}_(i), {overscore (p)}_(i+1) and dividing by two, that is, {overscore (p)}_(mid)=½({overscore (p)}_(i)+{overscore (p)}_(i+1)).
 7. The method of claim 1 wherein said step of determining if said midpoint {overscore (p)}_(mid) is an acceptable approximation for said first intersection point comprises the steps of: locating a midpoint back-projection point {overscore (p)}_(midback) by projecting said midpoint {overscore (p)}_(mid) parallel to said direction of displacement {overscore (d)} onto said undistorted surface; calculating a two-dimensional distortion function point for said midpoint back-projection point D₂({overscore (p)}_(midback)) by applying a two-dimensional distortion function D₂ to said midpoint back-projection point {overscore (p)}_(midback); said two-dimensional distortion function D₂ being said three-dimensional distortion function D₃ in said xy plane; calculating a magnitude of the difference between said two-dimensional distortion function point D₂({overscore (p)}_(midback)) and said input point {overscore (p)}_(input), that is, ∥D₂({overscore (p)}_(midback))−{overscore (p)}_(input)∥; and, comparing said magnitude of the difference ∥D₂({overscore (p)}_(midback))−{overscore (p)}_(input)∥ to a predetermined tolerance ε; said midpoint {overscore (p)}_(mid) being said acceptable approximation for said first intersection point if said magnitude of the difference is less than said predetermined tolerance ε, that is, ∥D₂({overscore (p)}_(midback))−{overscore (p)}_(input)∥<ε; and, if said magnitude of the difference ∥D₂({overscore (p)}_(midback))−{overscore (p)}_(input)∥ is not less than said predetermined tolerance ε, then redefining one of said first and second bracketing points {overscore (p)}_(i), {overscore (p)}_(i+1) as said midpoint {overscore (p)}_(mid) and repeating said step of locating a midpoint {overscore (p)}_(mid) and said step of determining if said midpoint {overscore (p)}_(mid) is an acceptable approximation for said first intersection point, until said acceptable approximation is located for said first intersection point; said acceptable approximation being an inversion point corresponding to said input point {overscore (p)}_(input).
 8. The method of claim 1 wherein said presentation system establishing a notional three-dimensional perspective viewing frustrum with respect to an x, y, and z-axis coordinate system; said frustrum including a reference viewpoint v{overscore (r)}p at an apex lying on said z-axis, a base in an xy-plane including said undistorted surface, and a reference view plane lying between said reference viewpoint v{overscore (r)}p and said undistorted surface and upon which said distorted surface is projected; said presentation system including a display screen for viewing said reference view plane by a user; and, said distorted surface created by the application of a three-dimensional distortion function D₃ to said undistorted surface.
 9. The method of claims 3, 4, or 5 and further comprising the step of selecting a value for said predetermined step value step.
 10. The method of claim 5 and further comprising the step of selecting a value for said predetermined amount by which said predetermined step value step is reduced.
 11. The method of claim 7 and further comprising the step of selecting a value for said predetermined tolerance ε.
 12. The method of claim 11 wherein said predetermined tolerance ε is selected as a fraction of the width of a pixel for said computer display screen.
 13. The method of claim 12 wherein said fraction is one half.
 14. The method of claim 8 wherein said distortion function D₃ is an n-dimensional function, said n being an integer greater than two.
 15. The method of claim 8 wherein said distortion function D₃ is a lens function.
 16. The method of claim 8 wherein said detail-in-context presentation system is suitable for generating detail-in-context presentations in accordance with Elastic Presentation Space graphics technology.
 17. The method of claim 8 wherein said base is said undistorted surface. 